﻿using BitTreeMarket.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BitTreeMarket.Data
{
    public class BitTreeMarketDbContext : DbContext
    {
        public BitTreeMarketDbContext()
            : base("BitTreeMarketDbEntities")
        { 
        }

        public virtual DbSet<Category> Categories { get; set; }
        public virtual DbSet<Commission> Commissions { get; set; }
        public virtual DbSet<Corporation> Corporations { get; set; }
        public virtual DbSet<GenUser> GenUsers { get; set; }
        public virtual DbSet<Member> Members { get; set; }
        public virtual DbSet<OwnedBy> OwnedBies { get; set; }
        public virtual DbSet<PaymentOption> PaymentOptions { get; set; }
        public virtual DbSet<PickUpOrder> PickUpOrders { get; set; }
        public virtual DbSet<Product> Products { get; set; }
        public virtual DbSet<Rating> Ratings { get; set; }
        public virtual DbSet<Reward> Rewards { get; set; }
        public virtual DbSet<Role> Roles { get; set; }
        public virtual DbSet<SalesReward> SalesRewards { get; set; }
        public virtual DbSet<Seller> Sellers { get; set; }
    }
}
